package org.wk.user.domain;

import org.hibernate.annotations.GenericGenerator;
import org.wk.core.db.domain.BaseEntity;

import javax.persistence.*;
import java.math.BigDecimal;

/**
 * @ClassName ApplyVip
 * @Description 用户申请VIP
 * @Author ZhaoPing'an
 * @Date 2018/6/1 13:41
 */
@Entity(name="org.wk.user.domain.ApplyVip")
//@Table(name = "s_member_apply_vip")
@Table(name="s_user_applyforvip")
public class ApplyVip extends BaseEntity {
    /**
     * @Fields serialVersionUID: long
     * @Desc TODO:
     */
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "id", unique = true, nullable = false, length = 32)
    @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name="system-uuid",strategy = "uuid")
    private String id;
    /**
     * @Fields seqFlag: String
     * @Desc TODO: 用户ID
     */
    @Column
    private String userId;
    @Column
    private String mobilePhone;
    @Column
    private String realName;

    /**
     * @Fields seqFlag: String
     * @Desc TODO: 付款方式
     */
    @Column
    private String paymentTypeCode;
    @Column
    private String paymentTypeName;
    /**
     * @Fields seqFlag: String
     * @Desc TODO: 付款金额
     */
    @Column
    private BigDecimal paymentAmount;
    /**
     * @Fields seqFlag: String
     * @Desc TODO: 付款凭证
     */
    @Column
    private String voucher;
    /**
     * @Fields seqFlag: String
     * @Desc TODO: 审核状态
     */
    @Column
    private String verifyStatusCode;
    @Column
    private String verifyStatusName;
    /**
     * @Fields seqFlag: String
     * @Desc TODO: 审核结果
     */
    @Column
    private String verifyResultCode;
    @Column
    private String verifyResultName;

    /**
     * @Fields seqFlag: String
     * @Desc TODO: 审核不通过原因
     */
    @Column
    private String refuseReason;

    /**
     * @Fields seqFlag: String
     * @Desc TODO: 付款账户(微信时是昵称，支付宝为实名)
     */
    @Column
    private String paymentAccount;

    /**
     * @Fields seqFlag: String
     * @Desc TODO: 申请级别
     */
    @Column
    private int identityCode;
    @Column
    private String identityName;

    /**
     * @Fields seqFlag: String
     * @Desc TODO: 上级用户信息
     */
    @Column
    private String relationId;
    @Column
    private String relationStatus;

    /**
     * @Fields seqFlag: String
     * @Desc TODO: 商家用户信息
     */
    @Column
    private String sellerId;
    @Column
    private String sellerStatus;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPaymentTypeCode() {
        return paymentTypeCode;
    }

    public void setPaymentTypeCode(String paymentTypeCode) {
        this.paymentTypeCode = paymentTypeCode;
    }

    public String getPaymentTypeName() {
        return paymentTypeName;
    }

    public void setPaymentTypeName(String paymentTypeName) {
        this.paymentTypeName = paymentTypeName;
    }

    public BigDecimal getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(BigDecimal paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public String getVoucher() {
        return voucher;
    }

    public void setVoucher(String voucher) {
        this.voucher = voucher;
    }

    public String getVerifyStatusCode() {
        return verifyStatusCode;
    }

    public void setVerifyStatusCode(String verifyStatusCode) {
        this.verifyStatusCode = verifyStatusCode;
    }

    public String getVerifyStatusName() {
        return verifyStatusName;
    }

    public void setVerifyStatusName(String verifyStatusName) {
        this.verifyStatusName = verifyStatusName;
    }

    public String getVerifyResultCode() {
        return verifyResultCode;
    }

    public void setVerifyResultCode(String verifyResultCode) {
        this.verifyResultCode = verifyResultCode;
    }

    public String getVerifyResultName() {
        return verifyResultName;
    }

    public void setVerifyResultName(String verifyResultName) {
        this.verifyResultName = verifyResultName;
    }

    public String getRefuseReason() {
        return refuseReason;
    }

    public void setRefuseReason(String refuseReason) {
        this.refuseReason = refuseReason;
    }

    public String getPaymentAccount() {
        return paymentAccount;
    }

    public void setPaymentAccount(String paymentAccount) {
        this.paymentAccount = paymentAccount;
    }

    public int getIdentityCode() {
        return identityCode;
    }

    public void setIdentityCode(int identityCode) {
        this.identityCode = identityCode;
    }

    public String getIdentityName() {
        return identityName;
    }

    public void setIdentityName(String identityName) {
        this.identityName = identityName;
    }

    public String getRelationId() {
        return relationId;
    }

    public void setRelationId(String relationId) {
        this.relationId = relationId;
    }

    public String getRelationStatus() {
        return relationStatus;
    }

    public void setRelationStatus(String relationStatus) {
        this.relationStatus = relationStatus;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getSellerStatus() {
        return sellerStatus;
    }

    public void setSellerStatus(String sellerStatus) {
        this.sellerStatus = sellerStatus;
    }

}
